Optimal. Leaf size=12 \[ -\csc (x)+i \tanh ^{-1}(\cos (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3501, 3770} \[ -\csc (x)+i \tanh ^{-1}(\cos (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3501
Rule 3770
Rubi steps
\begin {align*} \int \frac {\csc ^3(x)}{i+\cot (x)} \, dx &=-\csc (x)-i \int \csc (x) \, dx\\ &=i \tanh ^{-1}(\cos (x))-\csc (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.05, size = 26, normalized size = 2.17 \[ -\csc (x)+i \left (\log \left (\cos \left (\frac {x}{2}\right )\right )-\log \left (\sin \left (\frac {x}{2}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.70, size = 48, normalized size = 4.00 \[ \frac {{\left (i \, e^{\left (2 i \, x\right )} - i\right )} \log \left (e^{\left (i \, x\right )} + 1\right ) + {\left (-i \, e^{\left (2 i \, x\right )} + i\right )} \log \left (e^{\left (i \, x\right )} - 1\right ) - 2 i \, e^{\left (i \, x\right )}}{e^{\left (2 i \, x\right )} - 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 2.45, size = 30, normalized size = 2.50 \[ -\frac {-2 i \, \tan \left (\frac {1}{2} \, x\right ) + 1}{2 \, \tan \left (\frac {1}{2} \, x\right )} - i \, \log \left (\tan \left (\frac {1}{2} \, x\right )\right ) - \frac {1}{2} \, \tan \left (\frac {1}{2} \, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.25, size = 24, normalized size = 2.00 \[ -\frac {\tan \left (\frac {x}{2}\right )}{2}-i \ln \left (\tan \left (\frac {x}{2}\right )\right )-\frac {1}{2 \tan \left (\frac {x}{2}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.54, size = 33, normalized size = 2.75 \[ -\frac {\cos \relax (x) + 1}{2 \, \sin \relax (x)} - \frac {\sin \relax (x)}{2 \, {\left (\cos \relax (x) + 1\right )}} - i \, \log \left (\frac {\sin \relax (x)}{\cos \relax (x) + 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.23, size = 23, normalized size = 1.92 \[ -\frac {\mathrm {tan}\left (\frac {x}{2}\right )}{2}-\frac {1}{2\,\mathrm {tan}\left (\frac {x}{2}\right )}-\ln \left (\mathrm {tan}\left (\frac {x}{2}\right )\right )\,1{}\mathrm {i} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\csc ^{3}{\relax (x )}}{\cot {\relax (x )} + i}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________